package com.yizhuoyan.his.service.department;

import com.yizhuoyan.his.ao.DepartmentCategoryAo;
import com.yizhuoyan.his.entity.HosDepartmentCategoryEntity;
import org.springframework.stereotype.Service;

@Service
public interface DepartmentCategoryManageService {
    /**
     * 添加科室类别
     * @param ao 输入添加内容
     * @throws Exception
     */
    public void addDepartmentCategory(DepartmentCategoryAo ao)throws Exception;

    /**
     * 修改科室类别
     * @param id 需要修改的科室id
     * @param ao ao 输入需要修改的内容
     * @throws Exception
     */
    public void modifyDepartmentCategory(Long id,DepartmentCategoryAo ao)throws Exception;

    /**
     * 通过id查询科室类别
     * @param id
     * @return 返回类别实体
     * @throws Exception
     */
    public HosDepartmentCategoryEntity queryDepartmentCategoryById(Long id)throws Exception;

    /**
     *通过id删除科室类别
     * @param id 输入id
     * @throws Exception
     */
    public void removeDepartmentCategoryById(Long id)throws Exception;

}
